package com.tonyodev.fetchapp.fetch2core;

import com.tonyodev.fetch2core.Intrinsics;

import org.junit.Test;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

public class IntrinsicsTest {

    @Test
    public void checkParameterIsNotNull() {
        Intrinsics.checkParameterIsNotNull("", "text null");
    }

    @Test
    public void areEqual() {
        assertTrue(Intrinsics.areEqual("test", "test"));
        assertTrue(Intrinsics.areEqual(1, 1));
        assertFalse(Intrinsics.areEqual(1, "1"));
    }
}